<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pt_person_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pt_person_id" data-rule="required" data-field="user_name" data-source="pt/person/index" class="form-control selectpage" name="row[pt_person_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date_id" data-rule="required" class="form-control" name="row[date_id]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pt_depart_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pt_depart_id" data-rule="required" data-source="pt/depart/index" class="form-control selectpage" name="row[pt_depart_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Depart_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-depart_name" class="form-control" name="row[depart_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pt_job_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pt_job_id" data-rule="required" data-source="pt/job/index" class="form-control selectpage" name="row[pt_job_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Job_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-job_name" class="form-control" name="row[job_name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_road')}:</label>
        <div class="col-xs-12 col-sm-8">
            <select  id="c-is_road" data-rule="required" class="form-control selectpicker" name="row[is_road]">
                {foreach name="roadList" item="vo"}
                    <option value="{$key}" {in name="key" value="n"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Road_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-road_fee" data-rule="required" class="form-control" step="0.01" name="row[road_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Clock_json')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <dl class="fieldlist" data-name="row[clock_json]">
                <dd>
                    <ins>{:__('Key')}</ins>
                    <ins>{:__('Value')}</ins>
                </dd>
                <dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
                <textarea name="row[clock_json]" class="form-control hide" cols="30" rows="5"></textarea>
            </dl>


        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
